package com.tom.zx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 房屋信息
 * </p>
 *
 * @author lp
 * @since 2022-04-09
 */
@Getter
@Setter
@TableName("house_information")
@ApiModel(value = "HouseInformation对象", description = "房屋信息")
public class HouseInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("地址")
    @TableField("address")
    private String address;

    @ApiModelProperty("大小")
    @TableField("size")
    private Integer size;

    @ApiModelProperty("介绍")
    @TableField("introduction")
    private String introduction;

    @ApiModelProperty("联系方式")
    @TableField("phone")
    private String phone;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;

}
